// 菜单如果从后台获取-需删除此文件
export default [
  {
    description: '表单组件', // 菜单说明，与功能无关，用于国际化菜单名称分辨
    icon: 'el-icon-edit', // 菜单图片
    title: '表单组件', // 菜单名称，可使用国际化
    path: '/form', // 路由地址（非特殊情况path和src需保持一致）
    src: '/form', // vue页面地址在'src/views/'文件中
    keepAlive: true, // 是否缓存
    hideTag: false, // 是否需要隐藏tag标签（优先级高于父级标签高亮显示）
    parent: null, // 父级路由地址，子页面打开时父级tag高亮显示
    subMenu: [] // 子菜单
  },
  {
    description: '功能弹框',
    icon: 'el-icon-copy-document',
    title: '功能弹框',
    path: '/dialog',
    src: '/dialog',
    keepAlive: true,
    hideTag: false,
    parent: null,
    subMenu: []
  },
  {
    description: '主列表页',
    icon: 'el-icon-tickets',
    title: '主列表页',
    path: '/list',
    src: '/list',
    keepAlive: true,
    hideTag: false,
    parent: null,
    subMenu: []
  },
  {
    description: '图表',
    icon: 'el-icon-pie-chart',
    title: '图表',
    path: '/chart',
    src: '/chart',
    keepAlive: true,
    hideTag: false,
    parent: null,
    subMenu: []
  },
  {
    description: '路由嵌套',
    icon: 'el-icon-notebook-2',
    title: '路由嵌套',
    path: '/',
    subMenu: [
      {
        description: '菜单1',
        title: '菜单1',
        path: '/router/muen1',
        src: '/router',
        keepAlive: true,
        hideTag: false,
        parent: null,
        subMenu: []
      },
      {
        description: '菜单1',
        title: '菜单2',
        path: '/router/muen2',
        subMenu: [
          {
            description: '菜单2-1',
            title: '菜单2-1',
            path: '/router/muen21',
            src: '/router',
            keepAlive: true,
            hideTag: false,
            parent: null,
            subMenu: []
          }
        ]
      }
    ]
  }
]
